package com.ktgj.customer.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CustomerCardOrderListVO implements Serializable {
    /**
     * 销售员
     */
    private String employeeName;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 订单创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 订单完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fulfilTime;

    /**
     * 会员卡号
     */
    private String cardCode;

    /**
     * 会员姓名
     */
    private String customerName;

    /**
     * 卡业务类型
     */
    private String cardName;

    /**
     * 单价
     */
    private BigDecimal cardPrice;

    /**
     * 购买年限
     */
    private int purchasePeriod;

    /**
     * 应收金额
     */
    private BigDecimal amountReceivable;

    /**
     * 预留款
     */
    private BigDecimal usedDeposit;

    /**
     * 积分抵现
     */
    private BigDecimal usedCredits;

    /**
     * 抵扣券
     */
    private BigDecimal usedCoupon;

    /**
     * 实收金额
     */
    private BigDecimal usedMoney;

    /**
     * 收款渠道
     */
    private String payType;

    /**
     * 会员银行账号
     */
    private String creditCard;

    /**
     * 交易流水号
     */
    private String partyPayNum;

    /**
     * 销售部门
     */
    private String employeeDept;

    /**
     * 支付状态
     */
    private String state;

    /**
     * 订单状态
     */
    private String orderState;

    /**
     * 订单来源。默认crm来源（1 Wap、2 Web、3 IOS、4 Adriod、5 CallCenter、6 WeiXin）
     */
    private Long sourceway;

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getFulfilTime() {
        return fulfilTime;
    }

    public void setFulfilTime(Date fulfilTime) {
        this.fulfilTime = fulfilTime;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public BigDecimal getCardPrice() {
        return cardPrice;
    }

    public void setCardPrice(BigDecimal cardPrice) {
        this.cardPrice = cardPrice;
    }

    public int getPurchasePeriod() {
        return purchasePeriod;
    }

    public void setPurchasePeriod(int purchasePeriod) {
        this.purchasePeriod = purchasePeriod;
    }

    public BigDecimal getAmountReceivable() {
        return amountReceivable;
    }

    public void setAmountReceivable(BigDecimal amountReceivable) {
        this.amountReceivable = amountReceivable;
    }

    public BigDecimal getUsedDeposit() {
        return usedDeposit;
    }

    public void setUsedDeposit(BigDecimal usedDeposit) {
        this.usedDeposit = usedDeposit;
    }

    public BigDecimal getUsedCredits() {
        return usedCredits;
    }

    public void setUsedCredits(BigDecimal usedCredits) {
        this.usedCredits = usedCredits;
    }

    public BigDecimal getUsedCoupon() {
        return usedCoupon;
    }

    public void setUsedCoupon(BigDecimal usedCoupon) {
        this.usedCoupon = usedCoupon;
    }

    public BigDecimal getUsedMoney() {
        return usedMoney;
    }

    public void setUsedMoney(BigDecimal usedMoney) {
        this.usedMoney = usedMoney;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getCreditCard() {
        return creditCard;
    }

    public void setCreditCard(String creditCard) {
        this.creditCard = creditCard;
    }

    public String getPartyPayNum() {
        return partyPayNum;
    }

    public void setPartyPayNum(String partyPayNum) {
        this.partyPayNum = partyPayNum;
    }

    public String getEmployeeDept() {
        return employeeDept;
    }

    public void setEmployeeDept(String employeeDept) {
        this.employeeDept = employeeDept;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public Long getSourceway() {
        return sourceway;
    }

    public void setSourceway(Long sourceway) {
        this.sourceway = sourceway;
    }

    @Override
    public String toString() {
        return "CustomerCardOrderListVO{" +
                "employeeName='" + employeeName + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", createTime=" + createTime +
                ", fulfilTime=" + fulfilTime +
                ", cardCode='" + cardCode + '\'' +
                ", customerName='" + customerName + '\'' +
                ", cardName='" + cardName + '\'' +
                ", cardPrice=" + cardPrice +
                ", purchasePeriod=" + purchasePeriod +
                ", amountReceivable=" + amountReceivable +
                ", usedDeposit=" + usedDeposit +
                ", usedCredits=" + usedCredits +
                ", usedCoupon=" + usedCoupon +
                ", usedMoney=" + usedMoney +
                ", payType='" + payType + '\'' +
                ", creditCard='" + creditCard + '\'' +
                ", partyPayNum='" + partyPayNum + '\'' +
                ", employeeDept='" + employeeDept + '\'' +
                ", state='" + state + '\'' +
                ", orderState='" + orderState + '\'' +
                ", sourceway=" + sourceway +
                '}';
    }
}
